import http from "../../utils/request";

export const useFastLoginApi = (data) => {
  return http.post("/wxApi/v1/auth/fastLogin", data);
};

export const useloginApi = (data) => {
  return http.post("/wxApi/v1/auth/login", data);
};

export const useUserinfoApi = (data) => {
  return http.get("/wxApi/v1/auth/userinfo", data);
};

export const useNavMenuApi = (data) => {
  return http.get("/wxApi/v1/auth/navMenu", data);
};
